package com.google.gwt.sample.contacts.server;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;

/**
 * Guice context listener.
 */
public class MyGuiceContextListener extends GuiceServletContextListener {

    public static Injector injector;

    @Override
    protected Injector getInjector() {
        return injector = Guice.createInjector(new MyServletModule());
    }
}
